package org.bjtu.model;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * Orguser entity. @author MyEclipse Persistence Tools
 */

public class Orguser extends com.janus.persistence.Entity implements java.io.Serializable {

	// Fields

	private Long id;
	private Orggroup orggroup;
	private Orgrole orgrole;
	private Member member;
	private String orguuniqueid;
	private String orguname;
	private String orgupassword;
	private String orguphone;
	private String orguemail;
	private String orguremarks;
	private Date orgucreatedate;
	private Long orgutype;

	// Constructors

	/** default constructor */
	public Orguser() {
	}

	/** minimal constructor */
	public Orguser(Long id, String orguuniqueid, String orguname,
			String orgupassword) {
		this.id = id;
		this.orguuniqueid = orguuniqueid;
		this.orguname = orguname;
		this.orgupassword = orgupassword;
	}

	
	// Property accessors

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Orggroup getOrggroup() {
		return this.orggroup;
	}

	public void setOrggroup(Orggroup orggroup) {
		this.orggroup = orggroup;
	}

	public Orgrole getOrgrole() {
		return this.orgrole;
	}

	public void setOrgrole(Orgrole orgrole) {
		this.orgrole = orgrole;
	}

	public Member getMember() {
		return this.member;
	}

	public void setMember(Member member) {
		this.member = member;
	}

	public String getOrguuniqueid() {
		return this.orguuniqueid;
	}

	public void setOrguuniqueid(String orguuniqueid) {
		this.orguuniqueid = orguuniqueid;
	}

	public String getOrguname() {
		return this.orguname;
	}

	public void setOrguname(String orguname) {
		this.orguname = orguname;
	}

	public String getOrgupassword() {
		return this.orgupassword;
	}

	public void setOrgupassword(String orgupassword) {
		this.orgupassword = orgupassword;
	}

	public String getOrguphone() {
		return this.orguphone;
	}

	public void setOrguphone(String orguphone) {
		this.orguphone = orguphone;
	}

	public String getOrguemail() {
		return this.orguemail;
	}

	public void setOrguemail(String orguemail) {
		this.orguemail = orguemail;
	}

	public String getOrguremarks() {
		return this.orguremarks;
	}

	public void setOrguremarks(String orguremarks) {
		this.orguremarks = orguremarks;
	}

	public Date getOrgucreatedate() {
		return this.orgucreatedate;
	}

	public void setOrgucreatedate(Date orgucreatedate) {
		this.orgucreatedate = orgucreatedate;
	}

	public Long getOrgutype() {
		return this.orgutype;
	}

	public void setOrgutype(Long orgutype) {
		this.orgutype = orgutype;
	}


}